package com.changfeng.dao;

import com.changfeng.bean.ReatailersBrandCategoryMerge;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReatailersBrandCategoryMergeMapper {
    int deleteByPrimaryKey(Integer brandCategoryid);

    int deleteByBrandAndCategory(@Param("brandId") Integer brandId, @Param("categoryId") Integer categoryId);

    int insert(ReatailersBrandCategoryMerge record);

    int insertSelective(ReatailersBrandCategoryMerge record);

    ReatailersBrandCategoryMerge selectByPrimaryKey(Integer brandCategoryid);

    List<ReatailersBrandCategoryMerge> selectByBrandId(Integer brandId);

    int updateByPrimaryKeySelective(ReatailersBrandCategoryMerge record);

    int updateByPrimaryKey(ReatailersBrandCategoryMerge record);
}